package com.zyf.school.manager.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zyf.school.manager.domain.Holiday;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HolidayDao extends BaseMapper<Holiday> {
    //分页查询
    @Select("select * from holiday limit #{startIndex},#{pageSize}")
    public List<Holiday> queryPage(int startIndex,int pageSize);
}
